package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.entity.PageResult;
import com.woniu.pojo.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.OrderPageVo;
import com.woniu.vo.QueryMemberOrderVo;
import org.apache.ibatis.annotations.Param;

import java.awt.*;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author QiuPeng
 * @since 2022-10-12
 */
public interface OrderMapper extends BaseMapper<Order> {



    Page<Map<String, Object>> queryByPage( IPage iPage,@Param("vo") OrderPageVo orderPageVo);

    Boolean removeOrder(Integer id);


    List<QueryMemberOrderVo> getByMemberId(String memberId);
}
